extends Node
class_name BaseState

@export var state_name:String

var is_active: bool = false

func on_state_enter():
	print("进入-"+state_name)
	is_active = true
	
func on_state_process(delta: float):
	pass
	
func on_state_physics_process(delta: float):
	pass	
	
	
func on_state_exit():
	print("离开-"+state_name)
	is_active = false
